const { get } = require("mongoose")

module.exports = {
    async init(){
        const model = ctx.app.$model[ctx.params.list]
        if(model){
            ctx.list = model
            await n
        }else{
            ctx.body = 'no this model'
        }
    },

    async list(ctx){
        ctx.body = await ctx.list.find({})
    },

    async get(ctx){
        ctx.body = await 
    },

    
}